package com.sky.mapper;

import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @version 1.0
 * @Title: DishFlavorMapper
 * @Author 张宇
 * @Package com.sky.mapper
 * @Date 2025/9/29 16:04
 */


@Mapper
public interface DishFlavorMapper {


    /**
     * 批量插入口味
     *
     * @param dishFlavorList
     */
    void insertBatch(List<DishFlavor> dishFlavorList);

    /**
     * 删除
     *
     * @param ids
     */
    void delete(List<Long> ids);


    /**
     * 根据菜品id查询口味列表数据
     *
     * @param DishId
     * @return
     */
    List<DishFlavor> selectByDishId(Long DishId);


}
